package com.qidianit.mes.md.mapper;

import com.qidianit.mes.pojo.Material;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author djl
 * @Time 2024/10/14 20:26
 */
public interface MaterialMapper {
    List<Material> selectByPage(Material material);

    int save(Material material);

    int updateById(Material material);

    Material selectById(Long materialId);

    int deleteById(Long materialId);

    int updateMaterialsByIds(@Param("ids")String[] ids, @Param("statu") int statu);

    List<Material> getAllMaterial();
}
